package com.inche.learn;

public class demo3 {
    public static void main(String[] args) {
        Zi zi = new Zi();
        zi.zi();
    }
}


class sjm {
    String name = "sjm";
}

class Zi extends sjm{
    String name = "zi";
    public void zi(){
        String name = "zi_fangFa";
        System.out.println(name);
        System.out.println(this.name);
        System.out.println(super.name);
    }
}